﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace giaoxuhaison.Common
{
    public interface IFilterBuilder
    {
        Func<T, bool> CreateExpression<T>(string propertyName, string value, string operation);
        Expression<Func<T, bool>> CreateExpressionForPredicate<T>(string searchField, string value, string operation);
    }
}
